package cn.com.zetatech.maple.parser.parser;

import cn.com.zetatech.maple.entity.Rule;

import java.io.File;
import java.io.IOException;

/**
 * 文件解析
 *
 * @author cheng.cao@zetatech.com.cn
 */
public interface FileParser<T> {
    T parse(File file, Rule rule) throws IOException;
}
